﻿<Window x:Class="WpfControlsTest.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:dsl="clr-namespace:WpfControlsTest"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <!--<dsl:ProjectiveControl>
            <dsl:ProjectionContainer Title="TextContainer">
                <dsl:Projection>
                    <Label>TextContainer content within label</Label>
                </dsl:Projection>
            </dsl:ProjectionContainer>
            <dsl:ProjectionContainer Title="RecursiveContainer">
                <dsl:Projection>
                    <Grid Margin="5,5,5,5">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto"/>
                            <RowDefinition Height="*"/>
                        </Grid.RowDefinitions>
                        <Label Grid.Row="0">Recursive Container content</Label>
                        <dsl:ProjectiveControl Grid.Row="1">                        
                            <dsl:ProjectionContainer Title="eee">
                                <dsl:Projection>
                                    <StackPanel>
                                        <Label>TheText:</Label>
                                        <TextBox Text="{Binding Path=TheText, UpdateSourceTrigger=PropertyChanged}"/>
                                    </StackPanel>
                                </dsl:Projection>
                            </dsl:ProjectionContainer>
                            <dsl:ProjectionContainer Title="fff">
                                <dsl:Projection>
                                    <TextBox Text="{Binding Path=TheText, UpdateSourceTrigger=PropertyChanged}" Margin="5,5,5,5"/>
                                </dsl:Projection>
                            </dsl:ProjectionContainer>
                        </dsl:ProjectiveControl>
                    </Grid>
                </dsl:Projection>
            </dsl:ProjectionContainer>
        </dsl:ProjectiveControl>-->
        <!--<dsl:ProjectiveControl ItemsSource="{Binding Path=Items}"/>-->
        <dsl:ProjectiveControl x:Name="projectiveControl"/>
    </Grid>
</Window>
